x86/HVM: make hvm_find_io_handler() static
authorJan Beulich <jbeulich@suse.com>
Thu, 2 Feb 2017 11:50:35 +0000 (12:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 2 Feb 2017 11:50:35 +0000 (12:50 +0100)
commit0f72f9ba1f0586afac67bc88f35eba5cc26392cd
treec8604ae01cd55457ab2631c7b2f80a62c8ba97d2
parent061cd0f0e5c41335150e0d234d8ad0aff7b6da11
x86/HVM: make hvm_find_io_handler() static

This reduces the chance of misuse - calling it must in particular
always be accompanied by calling the corresponding ->complete() hook.
Constify its parameter at once.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/intercept.c
xen/include/asm-x86/hvm/io.h